import axios from 'axios';
import selfNaxios from 'utils/ajaxConfig.js';

export function getReportById(param, success, error) {
  return selfNaxios({
    method: 'get',
    url: '/workStart/getReportById',
    params: param
  }, success, error)
}

export function loadWorkqualityDetail(param, success, error) {
  return selfNaxios({
    method: 'post',
    url: '/workquality/load',
    data: param
  }, success, error)
}


export function saveWrokStartReport(param, success, error) {
  return selfNaxios({
    method: 'post',
    url: '/workStart/add',
    data: param
  }, success, error)
}

export function queryList(param, success, error) {
  return selfNaxios({
    method: 'post',
    url: '/billView/queryList',
    data: param
  }, success, error)
}